package com.ruicar.afs.cloud.seats.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.Date;

/**
 * @author tiankai
 * @Describe 岗位异动日志表
 * Created on 2020-06-18
 */
@Data
@TableName("seats_post_change_log")
@ApiModel(value = "岗位异动")
public class PostChangeLog extends BaseEntity<PostChangeLog> {
    /**
     * 用户ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;
    /**
     * 用户名称
     */
    private String userName;
    /**
     * 岗位异动状态
     */
    private String postChangeStatus;
    /**
     * 生效时间
     */
    private Date operationTime;
    /**
     * 异动备注
     */
    private String changeRemarks;
    /**
     * 登录名
     */
    private String loginName;
}
